<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <section id="main" role="main">
 *
 * @package WordPress
 * @subpackage html5boilerplate
 * @since html5boilerplate 0.1
 */

$templateDir = get_bloginfo('template_directory');
?><!doctype html>
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html class="no-js" <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<title><?php
		/*
		 * Print the <title> tag based on what is being viewed.
		 */
		global $page, $paged;

		wp_title( '|', true, 'right' );

		// Add the blog name.
		bloginfo( 'name' );

		// Add the blog description for the home/front page.
		$site_description = get_bloginfo( 'description', 'display' );
		if ( $site_description && ( is_home() || is_front_page() ) )
			echo " | $site_description";

		// Add a page number if necessary:
		if ( $paged >= 2 || $page >= 2 )
			echo ' | ' . sprintf( __( 'Page %s', 'html5boilerplate' ), max( $paged, $page ) );

		?></title>
	<meta name="description" content="">
	<meta name="author" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="shortcut icon" href="<?php echo $templateDir; ?>/favicon.ico">
	<?php
	/*
	<link rel="apple-touch-icon" href="/apple-touch-icon.png">
	*/
	?>
	<link rel="stylesheet" href="<?php echo $templateDir; ?>/css/style.css?v=2">
	
	<?php
	// Begin check Firebug 
	if( !empty($_GET['firebug']) && $_GET['firebug'] ) : ?> 
	<script src="http://fbug.googlecode.com/svn/lite/branches/firebug1.4/content/firebug-lite-dev.js"></script>
	<script>var DEBUG = true;</script> 
	<?php else: ?>
	<script>var DEBUG = false;</script>
	<?php endif; // End check Firebug ?>
	
	<script src="<?php echo $templateDir; ?>/js/libs/modernizr-1.7.min.js"></script>
	<?php /* <link rel="stylesheet" type="text/css" media="all" xyz="1" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> */ ?>
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
	<?php
		/* We add some JavaScript to pages with the comment form
		 * to support sites with threaded comments (when in use).
		 */
		if ( is_singular() && get_option( 'thread_comments' ) )
			wp_enqueue_script( 'comment-reply' );

		/* Always have wp_head() just before the closing </head>
		 * tag of your theme, or you will break many plugins, which
		 * generally use this hook to add elements to <head> such
		 * as styles, scripts, and meta tags.
		 */
		wp_head();
	?>
</head>
<body <?php body_class(); ?>>
	<div id="container" class="png_bg">
	    <!-- Begin Header -->
	    <header class="png_bg">
			<center>
				<section class="aside-width">
					<aside id="logo" role="banner">
						<img  src="<?php echo $templateDir; ?>/images/logo.png" width="299" border="0" alt="Logo"/>
					</aside>
					<aside id="top-sidebar" role="navigation" class="png_bg">
						<?php wp_nav_menu( array( 'container_class' => 'topmenu', 'theme_location' => 'primary', 'container_id' => 'topmenu-id', 'menu_class' => 'ul-topmenu', /* 'before'=>'', 'after'=>'', */ 'link_before'=>'<span>', 'link_after'=>'</span>', 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s<div class="clear"></div></ul>' ) ); ?>
						<?php /* ?>
						<div id="topmenu-id" class="topmenu">
							<ul id="menu-topmenu" class="ul-topmenu">
								<li class="menu-item current-menu-item">
									<a href="#"><span>Startsida</span></a>
								</li>
								<li class="menu-item">
									<a href="#"><span>Meny</span></a>
								</li>
								<li class="menu-item">
									<a href="#"><span>Om oss</span></a>
								</li>
								<li class="menu-item">
									<a href="#"><span>Kontakt</span></a>
								</li>
								<br class="clear" />
							</ul>
						</div> <?php */ ?>
					</aside>
				</section>
			</center>
	    </header>
		<!-- End Header -->
		
		<!-- Begin Main Content -->
	    <div id="main" role="main" class="png_bg">
			<center class="png_bg">
				<section class="aside-width">
					<aside id="main-before-sidebar">
						<div class="hotline"><img src="<?php echo $templateDir; ?>/images/txt-hotline.png" border="0"/></div>
						<?php dynamic_sidebar( 'header-above-widget-area' ); ?>
					</aside>








